package com.swa99ylum.pxp.a.a005;

public class Cell {
	private int index;
	private int value;

	public Cell(int index, int value) {
		super();
		this.index = index;
		this.value = value;
	}
	

	@Override
	public String toString() {
		return "["+value+"]";
//		return "Cell [index=" + index + ", value=" + value + "]";
	}

	/**
	 * getter、setter
	 */
	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
	
}
